package com.dimao.certificate_build_service.pdf;

import com.itextpdf.forms.fields.PdfFormField;
import com.itextpdf.kernel.font.PdfFont;
import io.vertx.core.json.JsonObject;

import java.util.List;
import java.util.Map;

public class TypeOneValue extends Value {
    @Override
    protected String additionalOperating(Map<String, PdfFormField> formMap, List<PdfFont> fonts, JsonObject jsonObject) {
        formMap.get("date")
                .setValue(jsonObject.getString("date"), fonts.get(0), 13.0f);

        return "：";
    }
}
